//
//  GWUser.h
//  ShandsMod
//
//  Created by zh_s on 2019/9/27.
//  Copyright © 2019 zh_s. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GWUserDefaultsObj.h"
#import "GWUserData.h"

NS_ASSUME_NONNULL_BEGIN

@interface GWUser : NSObject

//用户登录
+ (void)writeIsLogin:(BOOL)pIsLogin;
//判断登录状态
+ (BOOL)readIsLogin;
//保存用户信息
+ (void)writeObject:(GWUserDefaultsObj *)pObject;
//读取信息
+ (GWUserData *)readUser;

//是否是 模态 presentView
+ (void)writeIsPresentView:(BOOL)isPresentView;
//判断模式 yes是
+ (BOOL)readIsPresentView;


//游客模式
+ (void)writeIsGuestMode:(BOOL)isGuestMode;
//判断模式 yes是游客
+ (BOOL)readIsGuestMode;

//是否是实名
+ (void)writeIsReal:(BOOL)pIsReal;
//判断状态
+ (BOOL)readIsReal;

@end

NS_ASSUME_NONNULL_END
